#include "DxfEntity.h"


DxfEntity::DxfEntity(void)
	: _color(Qt::black)
	, _width(1)
{

}


DxfEntity::~DxfEntity(void)
{
}

bool DxfEntity::isSpaceModel() const
{
	return getBlockName() == "*Model_Space";
}

QColor DxfEntity::getColor() const
{
	const int gray = 128;
	const QColor grayColor(gray, gray, gray);

	/*QColor color(_color);
	color.setAlpha(128);*/

	return grayColor;
}
